package net.diaowen.dwsurvey.service;

import java.util.List;
import java.util.Map;

import net.diaowen.common.base.entity.UserGroup;
import net.diaowen.common.service.BaseService;

public interface UserGroupManager extends BaseService<UserGroup, String>{

	public void adminSave(UserGroup entity) throws Exception;
	
	public List<UserGroup> findListByUserId(String userId);

	public List<UserGroup> findListByGroupId(String usergroupId);

	public Map<String, Object> doBatchImport(String filepath, String groupId);

	public UserGroup findListByGroupIdAndUserId(String usergroupId, String userId);

	public void delete(String usergroupId, String userId);

}
